package lab02.test15;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Graduate graduate=new Graduate();
        graduate.name="zhangsan";
        Scanner in=new Scanner(System.in);
        System.out.println("请输入收入：");
        graduate.pay=in.nextDouble();
        System.out.println("请输入花费：");
        graduate.fee=in.nextDouble();
        graduate.count();
    }
}
